// KetonalConfigWindow.h: interface for the KetonalConfigWindow class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_KETONALFORMEDITORWINDOW_H__B5209D81_D61F_4619_B516_47DBFC122728__INCLUDED_)
#define AFX_KETONALFORMEDITORWINDOW_H__B5209D81_D61F_4619_B516_47DBFC122728__INCLUDED_

#include <juce.h>
#include "KetonalConfig.h"
#include "KetonalFormEditor.h"
class KetonalConfigComponent;

class KetonalFormEditorWindow  : public Component, public ButtonListener
{
	public:
		KetonalFormEditorWindow (KetonalConfigComponent *_parent, KetonalConfig *_c);
		~KetonalFormEditorWindow();

		void resized();
		void buttonClicked (Button *btn);
		void setElements (int n);
	private:
		int formFields;
		KetonalFormEditor *formEditor;
		KetonalConfig *config;
		KetonalConfigComponent *parent;
		ResizableCornerComponent *resizer;
		Button *closeButton;
};

#endif // !defined(AFX_KETONALCONFIGWINDOW_H__B5209D81_D61F_4619_B516_47DBFC122728__INCLUDED_)
